package cn.lx;

/**
 * @author lixin
 * @Classname ConcreteColleague2
 * @Description 具体的同事类
 * @Date 2019/10/7 上午9:47
 */
public class ConcreteColleague2 extends Colleague {
    public ConcreteColleague2(Mediator _mediator) {
        super(_mediator);
    }

    public void selfMethod2() {
        // 处理自己的业务逻辑
    }

    public void depMethod2() {
        // 处理自己的依赖方法
        super.mediator.doSomething2();
    }

}
